<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPageMcSigAdmin.master"
    CodeFile="MapWithAutoMovingPushpins.aspx.cs" Inherits="MapWithAutoMovingPushpins" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Src="~/GoogleMapForASPNet.ascx" TagName="GoogleMapForASPNet" TagPrefix="uc1" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table width="100%">
        <tr valign="top">
            <td>
                <table>
                    <tr>
                        
                        <td  valign="top">
                        <div style="top: auto">
                            <asp:UpdatePanel ID="UpdatePanel2" runat="server"  >
                                <ContentTemplate>
                                    
                                    
                                    <dx:ASPxGridView ID="ASPxGridView1"  runat="server" AutoGenerateColumns="False" 
                                        KeyFieldName="PLACA" EnableTheming="True" Theme="PlasticBlue" 
                                        Width="900px">
                                        <Columns>
                                            <dx:GridViewCommandColumn VisibleIndex="0" Visible="False">
                                            </dx:GridViewCommandColumn>
                                            <dx:GridViewDataTextColumn FieldName="PLACA" VisibleIndex="1" Width="30px">
                                                <cellstyle font-size="Large">
                                                </cellstyle>
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="DIRECCION" VisibleIndex="2" Width="350px" 
                                                Caption="UBICACION">
                                                <cellstyle wrap="False" font-size="Medium">
                                                </cellstyle>
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="TRAILER" VisibleIndex="3" Width="350px" 
                                                Caption="TRAILER" Visible="False">
                                                <cellstyle wrap="False">
                                                </cellstyle>
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="CONDUCTOR" VisibleIndex="4" Width="350px" 
                                                Caption="CONDUCTOR" Visible="False">
                                                <cellstyle wrap="False">
                                                </cellstyle>
                                                <Settings AutoFilterCondition="Contains" />
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="VINES" VisibleIndex="5" Width="350px" 
                                                Caption="VINES" Visible="False">
                                                <cellstyle wrap="False">
                                                </cellstyle>
                                                <Settings AutoFilterCondition="Contains" />
                                            </dx:GridViewDataTextColumn>
                                        </Columns>
                                        <Settings ShowFilterRowMenu="True" />
                                    </dx:ASPxGridView>
                                
                                    
                                    
                                    
                                </ContentTemplate>
                            </asp:UpdatePanel>
                                </div>
                        </td>
                        
                       
                    </tr>
                   <tr id="tr3" runat="server" visible="false">
                   <td  valign="top">
                <asp:Button ID="btnControlTimer" runat="server" OnClick="Button1_Click" Text="Button" />
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                         <uc1:GoogleMapForASPNet ID="GoogleMapForASPNet1" runat="server" /> 
                        
                        
                        </td>

                   </tr>
                </table>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <asp:Timer ID="Timer1" runat="server" Interval="1500" OnTick="Timer1_Tick" 
                            >
                        </asp:Timer>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
    </table>
</asp:Content>
